<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="http://localhost:955/oauth/token?grant_type=password" method="post" id="loginForm">
    <input type="text" name="username" placeholder="请输入用户名" value="admin">
    <input type="text" name="password" placeholder="请输入密码" value="123456">
    <input type="submit" value="登录" id="loginBtn">
</form>

<input id="token" type="text" placeholder="token返回结果" size="50">
<p id="result"></p>

<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="../js/Base64.js"></script>
<script type="text/javascript" src="../js/cookie.js"></script>
<script type="text/javascript" src="login.js"></script>
</body>
</html>